//
//  FZSpeechVerificationView.h
//  EnglishTalk
//
//  Created by 周咏 on 16/5/16.
//  Copyright © 2016年 Feizhu Tech. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FZSpeechVerificationViewDelegate <NSObject>

/**
 *  剩余超时的时间
 *
 *  @param time <#time description#>
 */
- (void)sVerRemainTime:(NSInteger)time;

/**
 *  请求进度显示
 */
-(void)sVerStartProgress;

/**
 *  请求进度消失
 *
 *  @param msg <#msg description#>
 */
-(void)sVerStopProgress:(NSString*)msg;

@required
/**
 *  获取验证需要的参数
 *
 *  @return <#return value description#>
 */
-(NSMutableDictionary*)sVerParamas;

@end

@interface FZSpeechVerificationView : UIView

@property(weak, nonatomic)id<FZSpeechVerificationViewDelegate> delegate;

/**
 *  验证码类型(0注册相关,1支付宝相关)
 */
@property(assign, nonatomic)NSInteger codeType;

/**
 *  设置为可用 可点击
 */
-(void)setAvailable:(BOOL)available;

-(void)clear;

@end
